/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 *
 *
 * @author zsp
 * @date 2021-12-28
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListBomRequest {

	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	/**
	 * 生产货品Id集合
	 */
	private List<Long> goodsIdList;

	private Boolean withGoods;
	private Boolean withEquipment;

	/**
	 * 应用范围：0-未定义，1-生产，2-研发，3-质检，9-其它
	 */
	private Integer scope;

}
